<?=view("home.header")?>
<?=view("home.nav")?>
<div class="content-wrapper">
    <div class="container">
        <div class="row pad-botm">
            <div class="col-md-12">
                <h4 class="header-line">奖金币提现</h4>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <form class="form" method="post">
                        <table class="table">
                            <tr>
                                <td>
                                    会员编号:<input class="form-control" type="text" value="<?=$user->Mu_Number?>" name="Mu_Number" readonly="readonly"/>
                                    {{csrf_field()}}
                                </td>
                                <td>
                                    开户姓名:<input class="form-control" type="text" value="<?=$user->Mu_OpenBankName?>" name="Mu_OpenBankName" readonly="readonly"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    开户平台:<input class="form-control" type="text" value="<?=$user->Mu_OpenBank?>" name="Mu_OpenBank" readonly="readonly"/>
                                </td>
                                <td>
                                    开户详细地址:<input class="form-control" type="text" value="<?=$user->Mu_OpenBakUrl?>" name="Mu_OpenBakUrl" readonly="readonly"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    开户账号:<input class="form-control" type="text" value="<?=$user->Mu_OpenBankNo?>" name="Mu_OpenBankNo" readonly="readonly"/>
                                </td>
                                <td>
                                    提款人电话:<input class="form-control" type="text" value="<?=$user->Mu_Mobile?>" name="Mu_Mobile" readonly="readonly"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    提现账户:
                                    <select name="Mud_Type" class="form-control">
                                        <option value="1">奖金币--<?=$user->Mu_AllMoney?>￥</option>
                                    </select>
                                </td>
                                <td>
                                    提款金额:<input class="form-control" type="text" name="Mud_AddMoney" required="required"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    二级密码:<input class="form-control" type="password" name="Mu_TwoPwd">
                                </td>
                                <td>
                                    提款备注:<input class="form-control" type="text" name="Mud_Deo" />
                                </td>
                            </tr>
                        </table>
                            <button class="btn btn-success">提交申请</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <table class="table table-striped table-bordered table-hover dataTable no-footer" id="dataTables-example" aria-describedby="dataTables-example_info">
                    <thead>
                        <tr role="row">
                            <th class="sorting_asc" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-sort="ascending" aria-label="Rendering engine: activate to sort column ascending" style="width: 189px;">会员编号</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Browser: activate to sort column ascending" style="width: 150px;">提款金额</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">实发金额</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">手续费</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">申请前金额</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">申请后金额</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">申请时间</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">提现类型</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">备注</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">审核状态</th>
                            <th class="sorting" tabindex="0" aria-controls="dataTables-example" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending" style="width: 264px;">审核时间</th>
                        </tr>
                    <tbody>
                        <?php 
                            if ($wlogs && count($wlogs) > 0):
                                foreach ($wlogs as $wlog):
                        ?>
                        <tr class="gradeA odd">
                            <td class="sorting_1"><?=$wlog->Mud_Number?></td>
                            <td class=" "><?=$wlog->Mud_AddMoney?></td>
                            <td class=" "><?=$wlog->sfMoney()?></td>
                            <td class=" "><?=$wlog->Mud_TaxMoney?></td>
                            <td class=" "><?=$wlog->Mud_OldMoney?></td>
                            <td class=" "><?=$wlog->Mud_Money?></td>
                            <td class=" "><?=$wlog->Mud_CreateTime?></td>
                            <td class=" "><?=$wlog->withdrawType()?></td>
                            <td class=" "><?=$wlog->Mud_Deo?></td>
                            <td class=" "><?=$wlog->isApproved()?></td>
                            <td class=" "><?=$wlog->Mud_ApprovedTime?></td>
                        </tr>
                        <?php
                                endforeach;
                            endif;
                        ?>
                    </tbody>
                </table>
                <?=$wlogs->render()?>
            </div>
        </div>
    </div>
</div>
<?=view("home.footer")?>
